package com.gitee.huxing.course.merchant;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.time.LocalDateTime;

/**
 * @Description: 商户管理服务入口
 * @ProjectName: JavaCourse
 * @Package: com.gitee.huxing.course.merchant
 * @ClassName: JavaCourseApplication
 * @Author: huxing
 * @DateTime: 2021-09-23 上午10:08
 */
@Slf4j
@MapperScan(basePackages = {"com.gitee.huxing.course.merchant.domain.dao"})
@SpringBootApplication
public class CourseMerchantApplication implements CommandLineRunner {

    public static void main(String[] args) {
        SpringApplication.run(CourseMerchantApplication.class, args);
    }

    @Override
    public void run(String... args) throws Exception {
        log.info("商户管理系统服务启动: {}", LocalDateTime.now());
    }
}
